package ru.xpparty.scanner;

/**
 * 
 * @author xp.party
 *
 */
//TODO Maybe this is a duplication of SocketState???
public class PortStatus {
	private SocketState state;
	public static final PortStatus OPEN = new PortStatus(SocketState.OPEN);
	public static final PortStatus CLOSED = new PortStatus(SocketState.CLOSED);
	
	private PortStatus(SocketState state) {
		this.state = state;
	}

	public SocketState getState() {
		return state;
	}
}
